<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>添加用户</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<%=basePath %>/css/styles.css"/>
  </head>
<body>

<div class="container">
    <div class="login">
      <h1><b>创建用户</b></h1>
    <form action="sign_up" method="post"> 
        <p><label style="padding-left:13px;">登录名：</label><input style="width:230px;" type="text" name="loginName" value="" placeholder="用户名"><span style="color: red;">*</span></p>
        <p><label style="padding-left:13px;">密&nbsp;&nbsp;&nbsp;码：</label><input style="width:230px;" type="password" name="loginPassword" value="" placeholder="密码"><span style="color: red;">*</span></p>
        <p><label>确认密码：</label><input style="width:230px;" type="password" name="repPassword" value="" placeholder="确认密码"><span style="color: red;">*</span></p>
        <p><label>真实姓名：</label><input style="width:230px;" type="text" name="realName" value="" placeholder="真实姓名"></p>
       
        <p><label style="padding-left:13px;">电&nbsp;&nbsp;&nbsp;话：</label><input style="width:230px;" type="text" name="phoneNum" value="" placeholder="电话"><span style="color: red;">*</span></p>
        <p><label>身份证号：</label><input style="width:230px;" type="text" name="identityCard" value="" placeholder="身份证号"></p>
        <p><label style="padding-left:13px;">部&nbsp;&nbsp;&nbsp;门：</label>
        <select id="departmentId" name="departmentId" style="width:230px;">
        	<option value="1">技术部</option>
        	<option value="2">信息部</option>
        	<option value="3">人力部</option>
        	<option value="4">财务部</option>
        </select><span style="color: red;">*</span></p>
        <p><label style="padding-left:13px;">上&nbsp;&nbsp;&nbsp;级：</label>
        <select id="parentId" name="parentId" style="width:230px;">
        	<option value="1">tom</option>
        	<option value="2">sam</option>
        	<option value="3">ross</option>
        </select><span style="color: red;">*</span></p>
         <p><label style="padding-left:13px;">角&nbsp;&nbsp;&nbsp;色：</label>
        <select id="roleId" name="roleId" style="width:230px;">
        	<option value="1">超级管理员</option>
        	<option value="2">普通管理员</option>
        	<option value="3">浏览者</option>
        </select><span style="color: red;">*</span></p>
        <p><label style="padding-left:13px;">邮&nbsp;&nbsp;&nbsp;箱：</label><input style="width:230px;" type="text" name="email" value="" placeholder="邮箱"></p>
        <p><label style="padding-left:13px;">验证码：</label><input type="text" name="captcha" value="" placeholder="验证码" style="width:100px;">
        <img src="captcha" style="cursor:pointer;" id="validateImg"/><span style="color: red;">*</span></p>
        <p class="submit"><input type="submit" name="commit" value="创建"></p>
      </form>
    </div>
  </div>


</body>
</html>